onMapSharedElements

open fun onMapSharedElements(names: List<String>, sharedElements: Map<String, View>)(source)

Lets the SharedElementCallback adjust the mapping of shared element names to Views.

Parameters

names

The names of all shared elements transferred from the calling Activity or Fragment in the order they were provided.

sharedElements

The mapping of shared element names to Views. The best guess will be filled into sharedElements based on the transitionNames.